# Python编译安装
./configure --prefix=/usr/local/python3 --enable-optimizations --with-lto --enable-shared CFLAGS="-O3" &&  make -j14 && make install

# nginx编译安装
./configure --prefix=/usr/local/nginx --with-http_ssl_module --with-http_gzip_static_module --with-http_stub_status_module --with-http_realip_module --with-http_sub_module --with-stream --with-stream_ssl_module --with-stream_ssl_preread_module --with-threads --with-pcre && make -j14 && make install

# redis编译安装
make -j14 && make install PREFIX=/usr/local/redis

# 构建基础镜像
docker build -f ./base.dockerfile --build-arg BUILD_TIME=$(date +%Y%m%d%H%M%S) -t liuda_build/fm-debian-slim:v1 .

# 运行基础镜像
docker run --rm -it --network=host liuda_build/fm-debian-slim:v1 bash

docker run --rm -it --network=host debian:12-slim bash

# 构建镜像
docker build -f ./fisherman.dockerfile --build-arg BUILD_TIME=$(date +%Y%m%d%H%M%S) -t liuda_build/fisherman:v0.7-beta-$(date +%Y%m%d%H%M%S) .


docker run --rm -it --network=host liuda_build/fisherman:v0.7-beta-20251017112816 bash


docker run -d --network=host --name fisherman liuda_build/fisherman:v0.7-beta-20251017112816



docker run -d --network=host --name fisherman crpi-um56j8g4u6zfwxk9.cn-hangzhou.personal.cr.aliyuncs.com/liuda_build/fisherman:v0.7-beta-20251022171455

